﻿// Decompiled with JetBrains decompiler
// Type: System.Web.Razor.Editor.EditResult
// Assembly: System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
// MVID: 682513D6-F37E-48AC-9909-F3EE103CFF14
// Assembly location: D:\Project\Idea\无人机外网\uav\客户端工程\排查工具\bin\Release\System.Web.Razor.dll

using System.Web.Razor.Parser.SyntaxTree;

namespace System.Web.Razor.Editor
{
  /// <summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents the editing result of the Editor.</summary>
  public class EditResult
  {
    /// <summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the <see cref="T:System.Web.Razor.Editor.EditResult" /> class.</summary>
    /// <param name="result">The partial parse result.</param>
    /// <param name="editedSpan">The edited span builder.</param>
    public EditResult(PartialParseResult result, SpanBuilder editedSpan)
    {
      this.Result = result;
      this.EditedSpan = editedSpan;
    }

    /// <summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the partial parse result.</summary>
    /// <returns>The partial parse result.</returns>
    public PartialParseResult Result { get; set; }

    /// <summary>This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the edited span of the <see cref="T:System.Web.Razor.Parser.SyntaxTree.SpanBuilder" />.</summary>
    /// <returns>The edited span of the <see cref="T:System.Web.Razor.Parser.SyntaxTree.SpanBuilder" />.</returns>
    public SpanBuilder EditedSpan { get; set; }
  }
}
